package org.dromara.house.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.house.domain.dto.ParkDetailsDto;
import org.dromara.house.domain.entity.ParkContractDetails;

import java.util.Date;
import java.util.List;

@Mapper
public interface ParkContractDetailsMapper extends BaseMapper<ParkContractDetails> {
    List<ParkContractDetails> selectByParkContractId(@Param("id") Long id);

    List<ParkDetailsDto> selectLeaseRecord(@Param("date") Date date, @Param("houseId") Long houseId,@Param("contractId") Long contractId);
}
